<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>新闻上传</title>
	<link rel="stylesheet" href="../css/bootstrap.min.css" />
	<style type="text/css">
		body{
			background-image: url("../img/batthern.png");
		}

		.text{
			text-indent: 2em;
		}
	</style>
</head>
<body>
	<%@ include file="include/top.jsp" %>

	<div class="container" style="margin-top: 60px;">
		<div class="row">
			<jsp:include page="include/left.jsp">
				<jsp:param value="" name=""/>
			</jsp:include>
			
			<div class="span9">
				<div class="wall" style="min-height: 400px;">
				<form name="example" method="post" action="#">
					<textarea name="content" id="editor_id" style="width: 660px; height: 300px;"></textarea>
				</form>
				</div>
			</div>
		</div>
		
		<%@ include file="include/footer.jsp" %>
	</div>

	<script type="text/javascript" src="../js/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="../js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../js/welcome.js"></script>
	<script charset="utf-8" src="../editor/kindeditor.js"></script>
	<script charset="utf-8" src="../editor/lang/zh_CN.js"></script>

	<script type="text/javascript">
	    var editor;
	    KindEditor.ready(function(K) {
	            editor = K.create('textarea[name="content"]', {
				uploadJson : 'upload.jspx',
				allowImageUpload : true,
				items : [
					'undo', 'redo', '|', 'preview', 'cut', 'copy', 'paste',
			        'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
			        'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent',
			        'outdent', 'subscript','superscript', 'clearhtml', 'quickformat', 'selectall',
			        '|', 'fullscreen', '/',
			        'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'bold',
			        'italic', 'underline', 'lineheight', 'removeformat', '|', 'image',
			        'insertfile', 'table', 'hr', 'link', 'unlink'],
			});
	    }); 
	</script>
	
	<script type="text/javascript">
		$(function() {
			$.welcome($("#welcome"));
		});
	</script>
</body>
</html>